package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 案件表
 */
public class TReport implements Serializable {
    private Integer reportid;//报案号
    private Integer policynum;//保单号
    private Date reporttime;//报案时间
    private Date lastmodifytime;//最后修改时间
    private String  reportstate;//理赔单状态
    private String reportimages;//受损图片
    private Integer surveyorid;//勘察人员id;
    private Integer firstid;//审核人员id;
    private Integer payprogram;//案件险(佩服项目)
    private Integer money;//赔付金额
    private Integer secondid;//定损人员id;
    private String remark;//备注；
    private Date   risktime; //出险时间
    private Integer damageclasses;//损失类别
    private TUser tUser;
    private TSafetype tSafetype;

    private String reportertel; //联系电话
    private String signature;//闪赔的签字证明

    private TPolicy tPolicy;
    private TSafetypeitem tSafetypeitem;

    public TReport() {
    }

    public TReport(Integer reportid, Integer policynum, Date reporttime, Date lastmodifytime, String reportstate, String reportimages, Integer surveyorid, Integer firstid, Integer payprogram, Integer money, Integer secondid, String remark, Date risktime, Integer damageclasses, TUser tUser, TSafetype tSafetype, String reportertel, String signature, TPolicy tPolicy, TSafetypeitem tSafetypeitem) {
        this.reportid = reportid;
        this.policynum = policynum;
        this.reporttime = reporttime;
        this.lastmodifytime = lastmodifytime;
        this.reportstate = reportstate;
        this.reportimages = reportimages;
        this.surveyorid = surveyorid;
        this.firstid = firstid;
        this.payprogram = payprogram;
        this.money = money;
        this.secondid = secondid;
        this.remark = remark;
        this.risktime = risktime;
        this.damageclasses = damageclasses;
        this.tUser = tUser;
        this.tSafetype = tSafetype;
        this.reportertel = reportertel;
        this.signature = signature;
        this.tPolicy = tPolicy;
        this.tSafetypeitem = tSafetypeitem;
    }

    public TReport(Integer reportid, Integer policynum, Date reporttime, Date lastmodifytime, String reportstate, String reportimages, Integer surveyorid, Integer firstid, Integer payprogram, Integer money, Integer secondid, String remark, Date risktime, Integer damageclasses, TUser tUser, TSafetype tSafetype) {
        this.reportid = reportid;
        this.policynum = policynum;
        this.reporttime = reporttime;
        this.lastmodifytime = lastmodifytime;
        this.reportstate = reportstate;
        this.reportimages = reportimages;
        this.surveyorid = surveyorid;
        this.firstid = firstid;
        this.payprogram = payprogram;
        this.money = money;
        this.secondid = secondid;
        this.remark = remark;
        this.risktime = risktime;
        this.damageclasses = damageclasses;
        this.tUser = tUser;
        this.tSafetype = tSafetype;
    }

    public TReport(Integer reportid, Integer policynum, Date reporttime, Date lastmodifytime, String reportstate, String reportimages, Integer surveyorid, Integer firstid, Integer payprogram, Integer money, Integer secondid, String remark, Date risktime, Integer damageclasses, TUser tUser, TSafetype tSafetype, String reportertel, TPolicy tPolicy) {
        this.reportid = reportid;
        this.policynum = policynum;
        this.reporttime = reporttime;
        this.lastmodifytime = lastmodifytime;
        this.reportstate = reportstate;
        this.reportimages = reportimages;
        this.surveyorid = surveyorid;
        this.firstid = firstid;
        this.payprogram = payprogram;
        this.money = money;
        this.secondid = secondid;
        this.remark = remark;
        this.risktime = risktime;
        this.damageclasses = damageclasses;
        this.tUser = tUser;
        this.tSafetype = tSafetype;
        this.reportertel = reportertel;
        this.tPolicy = tPolicy;
    }

    public TReport(Integer reportid, String reportstate) {
        this.reportid =reportid;
        this.reportstate = reportstate;
    }

    public TReport(Integer reportid, String reportstate, Date lastmodifytime, String remark) {
        this.reportid = reportid;
        this.reportstate = reportstate;
        this.lastmodifytime = lastmodifytime;
        this.remark = remark;
    }

    public Integer getReportid() {
        return reportid;
    }

    public void setReportid(Integer reportid) {
        this.reportid = reportid;
    }

    public Integer getPolicynum() {
        return policynum;
    }

    public void setPolicynum(Integer policynum) {
        this.policynum = policynum;
    }

    public Date getReporttime() {
        return reporttime;
    }

    public void setReporttime(Date reporttime) {
        this.reporttime = reporttime;
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    public String getReportstate() {
        return reportstate;
    }

    public void setReportstate(String reportstate) {
        this.reportstate = reportstate;
    }

    public String getReportimages() {
        return reportimages;
    }

    public void setReportimages(String reportimages) {
        this.reportimages = reportimages;
    }

    public Integer getSurveyorid() {
        return surveyorid;
    }

    public void setSurveyorid(Integer surveyorid) {
        this.surveyorid = surveyorid;
    }

    public Integer getFirstid() {
        return firstid;
    }

    public void setFirstid(Integer firstid) {
        this.firstid = firstid;
    }

    public Integer getPayprogram() {
        return payprogram;
    }

    public void setPayprogram(Integer payprogram) {
        this.payprogram = payprogram;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getSecondid() {
        return secondid;
    }

    public void setSecondid(Integer secondid) {
        this.secondid = secondid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getRisktime() {
        return risktime;
    }

    public void setRisktime(Date risktime) {
        this.risktime = risktime;
    }

    public String getReportertel() {
        return reportertel;
    }

    public void setReportertel(String reportertel) {
        this.reportertel = reportertel;
    }


    public Integer getDamageclasses() {
        return damageclasses;
    }

    public void setDamageclasses(Integer damageclasses) {
        this.damageclasses = damageclasses;
    }

    public TUser gettUser() {
        return tUser;
    }

    public void settUser(TUser tUser) {
        this.tUser = tUser;
    }

    public TSafetype gettSafetype() {
        return tSafetype;
    }

    public void settSafetype(TSafetype tSafetype) {
        this.tSafetype = tSafetype;
    }

    public TPolicy gettPolicy() {
        return tPolicy;
    }

    public void settPolicy(TPolicy tPolicy) {
        this.tPolicy = tPolicy;
    }

    public TSafetypeitem gettSafetypeitem() {
        return tSafetypeitem;
    }

    public void settSafetypeitem(TSafetypeitem tSafetypeitem) {
        this.tSafetypeitem = tSafetypeitem;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    @Override
    public String toString() {
        return "TReport{" +
                "reportid=" + reportid +
                ", policynum=" + policynum +
                ", reporttime=" + reporttime +
                ", lastmodifytime=" + lastmodifytime +
                ", reportstate='" + reportstate + '\'' +
                ", reportimages='" + reportimages + '\'' +
                ", surveyorid=" + surveyorid +
                ", firstid=" + firstid +
                ", payprogram=" + payprogram +
                ", money=" + money +
                ", secondid=" + secondid +
                ", remark='" + remark + '\'' +
                ", risktime=" + risktime +
                ", damageclasses=" + damageclasses +
                ", tUser=" + tUser +
                ", tSafetype=" + tSafetype +
                ", reportertel='" + reportertel + '\'' +
                ", tPolicy=" + tPolicy +
                '}';
    }
}
